package com.example.javalib.jiegou;

/**
 * @Description: 单链表
 * @author: zcs
 * @email: 1059737741@qq.com
 * create at 2022/1/21 17:35
 */
public class ListNode {

    public int value;
    public ListNode next;

//    public int val (){
//        return  value;
//    }
//    public ListNode next(){
//       return next;
//    }

    public ListNode (int value,ListNode next){
        this.value = value;
        this.next = next;
    }

}
